﻿using MediatR;
using S.Transfer.API.Dto;

namespace S.Transfer.API.Application.Command.TransferCommand
{
    public class TransferByIdCommand:IRequest<int>
    {
        /// <summary>
        /// 可视耳标
        /// </summary>
        public string? EarTag { get; set; }
    }
    public class TransferByIdEarCommand : IRequest<int>
    {
        /// <summary>
        /// 可视耳标
        /// </summary>
        public string? EarTag { get; set; }
        public DateTime? SurrenderDate { get; set; }
    }
    public class TransferByTypeEarCommand : IRequest<int>
    {
        /// <summary>
        /// 可视耳标
        /// </summary>
        public string? EarTag { get; set; }
        /// <summary>
        /// 转舍日期
        /// </summary>
        public DateTime? SurrenderDate { get; set; }
    }
    /// <summary>
    /// 修改
    /// </summary>
    public class TransFerUpdateCommand:IRequest<int>
    {
        public int SheepRescissionId { get; set; }
        /// <summary>
        /// 转入栋舍
        /// </summary>
        public int ShiftToBuild { get; set; }
        /// <summary>
        /// 转入栏位
        /// </summary>
        public int ShiftToHuts { get; set; }
        /// <summary>
        /// 转入栋舍主键
        /// </summary>
        public int ShiftToBuildingManagementId { get; set; }
        /// <summary>
        /// 转入栏位主键
        /// </summary>
        public int ShiftToColumnManagementId { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateBy { get; set; }
    }
    public class TransFerDeleteMore : IRequest<string>
    {
        public string? Ids { get; set; }
    }
}
